<div class="users view">
	<h2><?php  __('Mon Profil');?></h2>
	<table cellpadding="0" colspan="0">
		<tr>
			<td>Nom</td>
			<td><?php echo $user['User']['lastname']; ?></td>
		</tr>
		<tr>
			<td>Prénom</td>
			<td><?php echo $user['User']['firstname']; ?></td>
		</tr>
		<tr>
			<td>Email</td>
			<td><?php echo $user['User']['email']; ?></td>
		</tr>
		<tr>
			<td>Date de naissance</td>
			<td><?php echo $user['User']['birthday']; ?></td>
		</tr>
		<tr>
			<td>Ville</td>
			<td><?php echo $user['User']['city']; ?></td>
		</tr>
		<tr>
			<td>Code Postal</td>
			<td><?php echo $user['User']['zipcode']; ?></td>
		</tr>
		<tr>
			<td>Adresse</td>
			<td><?php echo $user['User']['address']; ?></td>
		</tr>
		<tr>
			<td>Téléphone</td>
			<td><?php echo $user['User']['phone']; ?></td>
		</tr>
		<tr>
			<td>Type d'utilisateur</td>
			<td><?php echo $user['Privilege']['label']; ?></td>
		</tr>
		<tr>
			<td>Parent</td>
			<td><?php echo $user['User']['parent_id']; ?></td>
		</tr>
	</table>	
</div>
<br />	
<div class="actions">
	<h3><?php __('Autres :'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Modifier mon profil', true), array('action' => 'edit', $user['User']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Supprimer mon compte', true), array('action' => 'delete', $user['User']['id']), null, sprintf(__('Attention, Voulez vous vraiment supprimer votre compte ?', true), $user['User']['id'])); ?> </li>
	</ul>
</div>
<div class="related">
	<!--
	<h3><?php __('Related Cvs');?></h3>
	<?php if (!empty($user['Cv'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Title'); ?></th>
		<th><?php __('Interests'); ?></th>
		<th><?php __('Photo'); ?></th>
		<th><?php __('Started At'); ?></th>
		<th><?php __('Ended At'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th><?php __('User Id'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($user['Cv'] as $cv):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $cv['id'];?></td>
			<td><?php echo $cv['title'];?></td>
			<td><?php echo $cv['interests'];?></td>
			<td><?php echo $cv['photo'];?></td>
			<td><?php echo $cv['started_at'];?></td>
			<td><?php echo $cv['ended_at'];?></td>
			<td><?php echo $cv['created'];?></td>
			<td><?php echo $cv['modified'];?></td>
			<td><?php echo $cv['user_id'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'cvs', 'action' => 'view', $cv['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'cvs', 'action' => 'edit', $cv['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'cvs', 'action' => 'delete', $cv['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $cv['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>
	-->
	
</div>
